package cc.liyinghao.springsecuritydemo.mapper;

import cc.liyinghao.springsecuritydemo.pojo.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface UserRoleMapper extends BaseMapper<UserRole> {
    /**
     * 获取用户角色标识
     */
    Set<String> getListRoleKeyByUserId(int userId);

}
